#
from numpy import average

from osc04a.utils.random_util import RandomUtil

for seed in range(1, 10):
    random_util = RandomUtil(seed, 24, 24)
    # act_duration of walls of two types
    act_duration = []
    durations = random_util.get_sf_erection_durations()
    print('D1:', seed, average(durations))
    act_duration.extend(durations)
    durations = random_util.get_in_wall_erection_durations()
    print('D2:', seed, average(durations))
    act_duration.extend(durations)

    act_delivery_delay = random_util.get_component_delivery_delays()
    # print('DL',average(act_delivery_delay),act_delivery_delay)
